<template>
	<info-list :dataList="dataList" jumpAddress="enforceLaw" :keyword="keyword"></info-list>
</template>

<script>
	import infoList from "@/components/info-list/info-list";
	export default {
		// 执法列表
		name: "lawList",
		components:{
			infoList
		},
		data() {
			return {
				dataList:[],
				keyword:''
			}
		},
		onShow() {
			this.$_getDataList();
		},
		onLoad(event) {
			this.keyword = event.keyword
		},
		methods: {
			$_getDataList(){
				let data1 = [{
					number:{name:"违法编号",value: '1003'},
					enforceTime:{name:"执法时间",value: '2019-12-30'},
					enforceAdmin: {name:"上传人",value: 'ccc'},
					enforceType: {name:"执法类型",value: '现场执法'},
					uploadAdmin: {name:"上传人",value: 'admin'},
					uploadTime: {name:"上传时间",value: '2019-12-30'},
					course: {name:"执法过程",value: ""}
				}]
				this.dataList = this.dataList.concat(data1)
				this.dataList = this.dataList.concat(data1)
				this.dataList = this.dataList.concat(data1)
				this.dataList = this.dataList.concat(data1)
				
			}
		}
	}
</script>

<style>

</style>
